<script setup>
  import {ref,computed} from 'vue'
  const scoreList = ref([80,100,90,70,60])
  const betterList = computed(()=> scoreList.value.filter(item => item >=90))
</script>

<template>
  <div>
    <div>成绩数组: {{ scoreList }}</div>
    <div>优秀: {{ betterList }}</div>
  </div>
</template>